package top.byteio.common.core.enums;

import lombok.Getter;

/**
* 操作状态
* @author lerryxia
*/
@Getter
public enum OperationStatus {
    SUCCESS(1, "操作成功"),
    FAIL(0, "操作失败");

    private final int code;

    private final String msg;

    OperationStatus(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
